from django.shortcuts import render

# Create your views here.
from django.shortcuts import render
from django.http import HttpResponse
def index(request):
    """
    index page
    :param request:
    :return:
    """

    return render(request,'news/index.html')

def news_detail(request):
    """
    news_detail page
    :param request:
    :return:
    """
    return render(request,'news/news_detail.html')

def search(request):
    """
    search page
    :param request:
    :return:
    """
    return render(request,'news/search.html')